#ifndef __FUNCTION_H
#define __FUNCTION_H

#include "sys.h"

void oct2str(uint32_t oct, char *str);
void zeroFill(char *str, uint8_t len);
void moveArray(uint8_t *data, uint16_t len, uint16_t start, uint8_t move);
uint16_t join(char *a, char *b);
uint16_t superPrintf(char *str, char *format,...);
void delay_100ms(uint16_t t);
void oct2DEX(uint32_t oct, char *str);
uint32_t delta(uint32_t a, uint32_t b, uint32_t c);
uint8_t isLeapYear(uint16_t year);
uint8_t insertTomato(uint32_t *t, uint32_t value, uint16_t reward, uint8_t tomato);

#endif


